﻿using SachOnlineLibrary.DAL;
using SachOnlineLibrary.Public;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace SachOnlineLibrary.BLL
{
    public class HoaDonBLL
    {
        HoaDonDAL hoadonDAL = new HoaDonDAL();

        public DataTable ThongKeSachBanChay()
        {
            //List<ChiTietHoaDon> list = new List<ChiTietHoaDon>();
            DataTable dt = new DataTable();
            dt = hoadonDAL.ThongKeSachBanChay();

            //foreach (DataRow dr in dt.Rows)
            //{
            //    ChiTietHoaDon item = new ChiTietHoaDon();
            //    item.ChuyenDoi(dr);
            //    list.Add(item);
            //}
            
            return dt;
        }

    }
}
